<table style="width:100%;" cellspacing="0">
    <tr>
        <td>


<table cellspacing="0" width="100%" class="forumline">
                <tr>
                	<td class="row-header" colspan="2">
                	   <span>
                	       {messages block='Smile'}
            	       </span>
        	       </td>
                </tr>
<tr>
	<td class="row1">
	
	<table>
<tr>
    <td class="menu" onclick="javascript:window.location.href='{url link=admin.extra.smilies upload=1}';" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
    	<a href="{url link=admin.extra.smilies upload=1}">{language text="upload_your_smilies_here"}</a>
    </td>
    <td class="menu" onclick="javascript:window.location.href='{url link=admin.extra.smilies}';" onmouseover="this.className='menu2';" onmouseout="this.className='menu';">
          <a href="{url link=admin.extra.smilies}">{language text="edit_your_smilies_here"}</a>
    </td>
</tr>
</table>
<br />

           {language text="from_here_you_can_edit_delete_all_y"}
           <br /><br />
            <table style="width:80%;">
                <tr>
                    <td style="font-size:8pt;">
                    	{if !empty($aFile)}
                        <table style="width:100%;height:28px;" class="header">
                            <tr>
                                <td style="width:20%;font-size:8pt;"><b>{language text="code"}</b></td>
                                <td style="width:40%;font-size:8pt;text-align:center;"><b>{language text="image"}</b></td> 
                                <td style="width:20%;font-size:8pt;text-align:center;"><b>{language text="action"}</b></td>
                                <td style="width:20%;font-size:8pt;text-align:center;"><b>{language text="writable"}</b></td>
                            </tr>
                        </table>
                        <!--   Start Dynamic block List smiles -->
                        {foreach from=$aFile key=sName item=sFile}
                        <table style="width:100%;border-bottom:1px #5368AA solid;height:50px;">
                            <tr>
                                <td style="width:20%;font-size:8pt;" class="color">:{$sName}:</td>
                                <td style="width:40%;font-size:8pt;text-align:center;" class="color">
                                    <img src="{$sSmUrl}{$sFile.file}" alt="" /> 
                                </td> 
                                <td style="width:20%;font-size:8pt;text-align:center;" class="color"> 
                                    <a class="link_action" href="{url link=admin.extra.smilies edit=$sFile.code}">[ Edit ]</a>
                                    <a class="link_action" href="{url link=admin.extra.smilies del=$sFile.code}" onclick="if(!sure('{language text="do_you_really_want_to_delete_this_i_777"}')) return false;">[ {language text="delete"} ]</a>
                                </td> 
                                <td style="width:20%;font-size:8pt;text-align:center;" class="color"> 
                                {if $sFile.is_wr}<span style="color:green;">{language text="yes"}</span>{else}<span style="color:red;">{language text="no"}</span>{/if}
                                </td>
	                         </tr>
	                     </table>
	                     {/foreach}
						 {else}
						 	{language text="no_smilies"}
						 {/if}
	                     <!--   End Dynamic block List smiles -->
                    </td>
                </tr>
            </table>
            <br /><br />
        </td>
    </tr>
</table>

        </td>
    </tr>
</table>